Skip to content

Conversation

@Avus-c
Copy link
Contributor

@Avus-c Avus-c commented Mar 8, 2025

Resolves #649

Prevents calling cpm_create_module_file when DOWNLOAD_ONLY was set to true.
I see no reason to generate module files, when you're just downloading a dependency.

Copy link
Member

@TheLartians TheLartians left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! I see how this can be confusing behaviour.

Perhaps might make sense to add a comment in another PR so future editors understand the reason the exception.

@TheLartians TheLartians merged commit 97023e8 into cpm-cmake:master Mar 12, 2025
11 checks passed
@TheLartians
Copy link
Member

Fix published in v0.40.8 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to use find_package with a user provided Find* module?

2 participants